#include <stdio.h> 

int main() 
{
  int high, up, down, n;  
  while ( scanf("%d%d%d", &high, &up, &down) != EOF ) 
  { 
    if ( high == 0 ) break; 
    int t = 0;
    n = 0; 
    do
    { 
        n += up; 
        t++; 
        if ( n >= high ) 
          break; 
        else 
        {
           n -= down;
           t++;
        } 
    }while ( 1 ); 
    printf("%d\n", t); 
  } 
} 
